// 轮播图
.top {
  position: relative;
  .content {
    height: 212px;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 48px;
    user-select: none;
    img {
      width: 100%;
    }
  }
  .search-box {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    .searchLeft {
      display: flex;
      align-items: center;
      background-color: #fff;
      height: 30px;
      padding-left: 8px;
      border-radius: 2px;
      .location {
        display: flex;
        align-items: center;
        span {
          width: 30px;
        }
      }
      .ipt {
        position: relative;
        .icon-seach {
          position: absolute;
          left: 8px;
          color: #333;
        }
        input {
          border: 0;
          padding-left: 30px;
        }
        input:focus {
          outline: none;
        }
      }
    }
    .icon-map {
      width: 30px;
      font-size: 30px;
      color: #fff;
      margin-left: 10px;
    }
  }
}

// 导航菜单
.nav {
  display: flex;
  text-align: center;
  justify-content: space-around;
  padding: 10px 0;
  .navItem {
    img {
      width: 48px;
    }
    h2 {
      font-size: 13px;
      font-weight: normal;
      margin-top: 7px;
    }
  }
}

// 租房小组
.groups {
  background-color: #f4f4f4;
  padding: 10px 20px;
  .tenementGroup {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    .title {
      font-size: 16px;
    }
    .more {
      font-size: 14px;
    }
  }

  .gridItem {
    text-align: center;
    background-color: #fff;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 5px;
    .itemLeft {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      .Ltitle {
        font-size: 14px;
      }
      .Ldesc {
        color: #999;
        margin-top: 5px;
      }
    }
    .itemRight {
      width: 48px;
      height: 48px;
      img {
        width: 100%;
      }
    }
  }
}

// 最新资讯
.news {
  padding: 10px 20px;
  .newTitle {
    margin-bottom: 10px;
  }
  .newsItem {
    display: flex;
    margin-bottom: 20px;
    justify-content: space-between;
    img {
      width: 140px;
      margin-right: 20px;
      border-radius: 8px;
    }
    .itemCon {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      .itemTitle {
        font-weight: bold;
        font-size: 14px;
      }
      .itemdesc {
        display: flex;
        justify-content: space-between;
        color: #999;
      }
    }
  }
}
